//
//  JLCLBaseViewController.m
//  JLCLTestDemo
//
//  Created by Eren on 2022/3/28.
//

#import "JLCLBaseViewController.h"

@interface JLCLBaseViewController ()

@end

@implementation JLCLBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    // Do any additional setup after loading the view.
}

-(UIButton *)createBtnWithTitle:(NSString *)title withToTop:(CGFloat)toTop wihtHeight:(CGFloat)height withSelect:(SEL)sel
{
    UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(40, toTop, 120, height)];
    [button setTitle:title forState:UIControlStateNormal];
    [button addTarget:self action:sel forControlEvents:UIControlEventTouchUpInside];
    [button setBackgroundColor:[UIColor systemPinkColor]];
    return  button;
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
